//
//  EATextField.m
//  WhatToEat
//
//  Created by Mac on 15/4/3.
//  Copyright (c) 2015年 Mac. All rights reserved.
//

#import "EATextField.h"
#import "ConstansCode.h"
@implementation EATextField


- (void)drawRect:(CGRect)rect {

    self.borderStyle=UITextBorderStyleNone;
    
    
    UIView *v=[[UIView alloc] initWithFrame:CGRectMake(0, self.bottom, self.superview.width, 1)];
    v.backgroundColor=kTingColor;
    
    
    [self.superview addSubview:v];

    
}


@end
